]> dgit.raspbian.org Git - gnome-shell.git/commit
status/backlight: Fix keynav within discrete item
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 12 Nov 2024 23:42:56 +0000 (00:42 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 23 Nov 2024 12:17:50 +0000 (13:17 +0100)
commitc1487901f48ed90cf65795c12877b4a73fb82a13
tree157e75866c0193768df3129ab94d06bae356a260
parent326a228e5cebe330eedd88e671882394d57da35a
status/backlight: Fix keynav within discrete item

When representing the keyboard backlight levels as discrete items,
it is currently not possible to keynav past the first button.

Fix this by bypassing the usual event bubbling and passing key press
events directly to the focus manager, similar to what we do for
popup menu items.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3545>
(cherry picked from commit 64c9baf412fa3709ab519d16caaec698db886ed0)
js/ui/status/backlight.js